Page({
  data: {
    selectedShopNum: null,
    allShopNum: null
  },
  onLoad(option) {
    if (option) {
      this.setData({
        selectedShopNum: option.selectedShopNum,
        allShopNum: option.allShopNum
      })
    }
  },
  toPrivateCustomerList() {
    dd.navigateBack({
      delta: 1
    });
  },
  toAddPrivateCustomer() {
    dd.redirectTo({
      url: "/pages/privateCustomers/resovle-store-link/resovle-store-link"
    })
  }
});
